#ifndef SERVICE_IMPL_H
#define SERVICE_IMPL_H
#include<vector>
#include<iostream>
#include<string>
#include"department.h"
#include"employee.h"
#include"service.h"
#include"servicedao.h"
#include"servicedao_file_impl.h"
using namespace MC;
using namespace std;
namespace MC
{
class Service_impl:public Service
	{
		
	public:
      vector<Department>* m_vecDepts;
      Servicedao* m_dao;
	   	Service_impl();

  		void addDept(const Department& dp);
  		bool deleteDept(int id);
  		void listDept(void);
  		bool addEmp(int id,const Employee& em);
  		bool deleteEmp(int id);
  		bool modifyEmp(int id,const Employee& em);
  		vector<Employee> listEmp(int id);
  		void listAllEmp(void);
		  ~Service_impl();
		
	};	
}
#endif